SCTimer/PWM (SCT) Centre Aligned PWM example
=====================================================

Example description
-------------------
LPC5411x SCT Center aligned PWM program for LPCXpresso board
The SCTimer/PWM has the capability to count up to a limit and then down to zero. 
In this case you can use the Output Direction Control register to specify (for each output) 
the impact of the counting direction on the meaning of set and clear operations on that output.
This example is using that feature to generate a center aligned PWM output. 
Two pushbuttons (SW1 and SW2/SW3 on the LPCXpresso board) are used to decrease and increase 
the duty cycle of the PWM signal by updating the MATCHRELOAD register. 

1. SCTimer/PWM Lower 16-bit counter/timer generates a 100kHz PWM output signal @ SCT_OUT4.
2. Every time P0_24 (SW1) goes high to low, duty cycle is increased which reduces LED brightness.
3. Every time P0_31 (SW2) goes high to low, duty cycle is decreased which increases LED brightness.
4. SCT_OUT4 is connected to port P1_10 (green LED).



Special connection requirements
-------------------------------
LPC54114 LPCXpresso board:

Alternatively one can connect 


Build procedures:
------------------------------
Visit the LPCOpen Quick start guide at
[http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides]
to get started building LPCOpen projects.
